﻿using aier.dataaccess.model;
using aier.dataaccess.dapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace aier.business.logic
{
    public class AreaBll
    {
        public AreaDal areaDal { get; set; }

        public List<AreaView> QueryAllArea()
        {
            return areaDal.QueryAllArea();
        }

        public Guid GetAreaIdByName(string name)
        {
            return areaDal.GetAreaIdByName(name);
        }
    }
}
